package com.example.b_308.medical.model.base;

import java.io.Serializable;

/**
 * Created by B-308 on 2017/11/14.
 */

public class BaseDay_scheduling extends BaseModel implements Serializable {
    /**
     * 科室门诊
     */
    String department;
    /**
     * 医院
     */
    String hospital;
    /**
     * 排班日期
     */
    String scheduling_date;
    /**
     * 排班时间段列表
     */
    String scheduling_time_list;

    public BaseDay_scheduling() {
    }

    public String getDepartment() {
        if (null == department) {
            department = getStr("department");
        }
        return department;
    }

    public String getHospital() {
        if (null == hospital) {
            hospital = getStr("hospital");
        }
        return hospital;
    }

    public String getScheduling_date() {
        if (null == scheduling_date) {
            scheduling_date = getStr("scheduling_date");
        }
        return scheduling_date;
    }

    public String getScheduling_time_list() {
        if (null == scheduling_time_list) {
            scheduling_time_list = getStr("scheduling_time_list");
        }
        return scheduling_time_list;
    }

    public void setDepartment(String department) {

        put("department", department);
        this.department = department;
    }

    public void setHospital(String hospital) {

        put("hospital", hospital);
        this.hospital = hospital;
    }

    public void setScheduling_date(String scheduling_date) {

        put("scheduling_date", scheduling_date);
        this.scheduling_date = scheduling_date;
    }

    public void setScheduling_time_list(String scheduling_time_list) {

        put("scheduling_time_list", scheduling_time_list);
        this.scheduling_time_list = scheduling_time_list;
    }
}
